package com.bjb.vr.common.dto;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

/**
 * 资源包详情表
 * @TableName opt_prod_bundle_detail
 */
@TableName(value ="opt_prod_bundle_detail")
@Data
public class OptProdBundleDetail implements Serializable {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 资源包ID
     */
    @TableField(value = "res_bundle_id")
    private Long resBundleId;

    /**
     * 课程ID
     */
    @TableField(value = "content_id")
    private Long contentId;

    /**
     * 课程大小
     */
    @TableField(value = "content_size")
    private Integer contentSize;

    /**
     * 创建时间
     */
    @TableField(value = "gmt_create",fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;

    /**
     * 修改时间
     */
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}